package com.baizhi.test;

import com.baizhi.Application;
import com.baizhi.service.AdminService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
public class test4 {
    @Resource
    private AdminService adminService;
    @Test
    public void insert(){
        adminService.insert("zhangsan","123456");
    }
}

